package com.dmall.modules.admin.entity;


import javax.persistence.*;

/**
 * 管理员权限
 * @author Chen 2017/12/4
 */
@Table(name = "admin_permission")
public class AdminPermission extends BaseEntity {
    private Long id;
    private String url; //地址
    private String name;    //权限名称
    private Long parentId;  //父权限

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
